package com.yh.doing.state_pattern;

/**
 * TODO 类实现描述
 *
 * @author radish
 * @since 2019年3月3日 下午8:58:44
 */
public abstract class EventState {
    private EventState event;
    private EventVo eventVo;

    public EventVo getEventVo() {
        return eventVo;
    }

    public void setEventVo(EventVo eventVo) {
        this.eventVo = eventVo;
    }

    public EventState getCurrentEventState() {
        return event;
    }

    public void setCurrentEvent(EventState event) {
        this.event = event;
    }

    public abstract void submit();

    public abstract void deliverToOther();

    public abstract void helpToOther();

    public abstract void close();

    public abstract void create();

    public abstract void delete();

    public abstract void update();

    public abstract void find();

}
